package com.qiangesoft.blog.system.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author qiange
 * @date 2023-06-01
 */
@ApiModel("用户信息")
@Data
public class UserAuthDTO {

    @NotBlank(message = "昵称不能为空")
    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("简介")
    private String intro;

    @ApiModelProperty("个人网站")
    private String webSite;

    @NotBlank(message = "头像不能为空")
    @ApiModelProperty("头像")
    private String avatar;

    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty("邮箱")
    private String email;
}
